/**
 * 
 */
package ar.unq.edu.agenda.home;

import org.apache.commons.collections.Predicate;
import org.uqbar.commons.model.CollectionBasedHome;

import ar.unq.edu.agenda.domain.City;

/**
 * Representa la Home para las Ciudades
 * @author nicolas
 */
public class CityHome extends CollectionBasedHome<City> {

	/**
	 * Precarga ciudades
	 * @author nicolas
	 */
	public CityHome()
	{
		this.create(new City("Buenos Aires"));
		this.create(new City("Quilmes"));
		this.create(new City("La Plata"));
		this.create(new City("Junin"));
		this.create(new City("Pergamino"));
	}
	
	@Override
	public Class<City> getEntityType() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public City createExample() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected Predicate getCriterio(City example) {
		// TODO Auto-generated method stub
		return null;
	}

}
